package cn.liulin.java8.pojo;

/**
 * cn.liulin.java8.pojo$
 *
 * @author ll
 * @date 2021-10-14 13:49:57
 **/
public class Trader {
    private String name;
    private String city;

    public Trader(String name, String city) {
        this.name = name;
        this.city = city;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return " Trader : "+this.name+" in " +this.city;
    }
}
